package com.tarena.lbs.activity.feign;

import com.tarena.lbs.base.protocol.model.Result;
import com.tarena.lbs.user.pojo.vo.AdminVO;
import com.tarena.lbs.user.pojo.vo.UserVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestHeader;

import javax.servlet.ServletRequest;

@FeignClient(name = "lbs-user",url = "http://localhost:7070")
public interface AdminClient {
    @GetMapping("/admin/basic/role/detail/{id}")
     Result<AdminVO> detail(@PathVariable("id") Integer id);

}
